import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'

// 引入Element Plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

// 创建应用实例并使用路由
const app = createApp(App)
app.use(router)
// 使用Element Plus，配置中文语言
app.use(ElementPlus, {
  locale: zhCn
})
app.mount('#app')
